﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LeMigue.TeamPortal.Base.Biz.Interface;
using LeMigue.Scrum.Iterface.Model;
using LeMigue.TeamPortal.Base.View;

namespace LeMigue.TeamPortal.Dev.Biz
{
    public class DevProjectBiz : IProjectBiz
    {
        private IList<Project> _projects = new List<Project>();

        public DevProjectBiz()
        {
            _projects.Add(new Project(1, "Projeto teste"));
        }

        public IList<ProjectView> List(Team team)
        {
            return _projects.Select(p => new ProjectView(p)).ToList();
        }
    }
}
